package hello;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;
import java.util.Map;
import java.util.Vector;

@Configuration
@ConfigurationProperties(prefix="consul")
public class ConsulProperties {

    private String acl_token = "";
    public String getAclToken() {
        return acl_token;
    }
    public void setAclToken(String token) {
        this.acl_token = token;
    }

    private String address = "";
    public String getAddress() {
        return address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
}